package com.yonyou.pmclouds.processphoto.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.processphoto.entity.ProcessPhotoVO;

public interface ProcessPhotoQuery {
    /**
     * 根据项目查询项目下面的所有的工序拍照单据
     * @param pk_project
     * @return
     * @throws BusinessException
     */
    ProcessPhotoVO[] queryByProject(String pk_project) throws BusinessException;
    /**
     * 根据工序拍照主键查询
     * @param pkProcessphoto
     * @return
     * @throws BusinessException
     */
    ProcessPhotoVO queryOne(String pkProcessphoto) throws BusinessException;
    /**
     * 引用校验
     * @param code
     * @param ids
     * @return
     * @throws BusinessException
     */
    boolean queryRefByIds(String code, String[] ids) throws BusinessException;

    PageObject<Object> queryByCondition(String[] pkProject,
                                         String[] creators,
                                         String startDate,
                                         String endDate,
                                         int[] billStatus,
                                         int start,
                                         int size) throws BusinessException;
}
